<template>
  <table class="table table-bordered table-stripped">
    <thead>
      <!-- 表格标题区域 -->
      <slot name="header"></slot>
    </thead>
    <tbody>
      <!-- 表格主体区域 -->
      <slot></slot>
    </tbody>
  </table>
</template>

<script>
export default {
  name: 'MyTable',
  props: {
    goods: Array,
  },
}
</script>

<style scoped lang="less">
.my-goods-list {
  .badge {
    margin-right: 5px;
  }
}
</style>
